package com.wshoto.ocean.feign.client.fallback;

import com.wshoto.ocean.feign.client.AppServiceFeign;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

/**
 * 抽象AppServiceFeignFallBack 调用者可自行复写实现该抽象类
 * 如需捕获异常  需编写FallBackFactory创建FallBack实例传入异常信息
 * 定义改抽象类方便与FallBackFactory解耦，方便开发人员覆写FallBackFactory中创建的FallBack实例
 * 抽象命名规范遵循大驼峰式命名，抽象类命名规范为Abstract+feign接口名+FallBack
 *
 * @author Lee
 */
@Slf4j
@Setter
public abstract class AbstractAppServiceFeignFallBack implements AppServiceFeign {

    protected Throwable throwable;
}
